cmake_minimum_required(VERSION 3.10)
project(estimateT)

set(CMAKE_CXX_STANDARD 11)
find_package(Eigen3 REQUIRED)
include_directories(${EIGEN3_INCLUDE_DIRS})
find_package(Utils REQUIRED)
include_directories(${Utils_INCLUDE_DIRS})
link_libraries(${Utils_LIBRARIES})
find_package(Ceres REQUIRED)
include_directories(${CERES_INCLUDE_DIR})
link_libraries(${CERES_LIBRARIES})#一定要注意CERES都大写，不然会有一大串共享库找不到
find_package(Sophus REQUIRED)
include_directories(${Sophus_INCLUDE_DIRS})

add_executable(estimateT main.cpp)
install(TARGETS estimateT RUNTIME DESTINATION bin)